Bug 592606 - Activate the default button in a respose-request callback
authorBenjamin Otte <otte@gnome.org>
Fri, 21 Aug 2009 17:02:38 +0000 (19:02 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 27 Aug 2009 09:51:43 +0000 (11:51 +0200)
commit4a0f78b72fa98cad4c4befed4e6f1527006b66e3
tree173ab754bb10c938d019988c97954eff0d24cace
parentcf739308691c0bc6883cb48947caa74eca4abd2b
Bug 592606 - Activate the default button in a respose-request callback

Previously the rightmost button with a proper response id was activated,
this is now only done if there is no default button set.

With this patch the right widget gets activated when there are multiple
widgets wth response ids conforming to is_stock_accept_response_id() as
the selected widget is made the new default widget before showing the
overwrite confirmation dialog.
gtk/gtkfilechooserdialog.c